Optimal. Leaf size=99 \[ \frac {\sqrt {\pi } \cos \left (\frac {2 a}{b}\right ) S\left (\frac {2 \sqrt {a+b \sin ^{-1}(c x)}}{\sqrt {b} \sqrt {\pi }}\right )}{2 \sqrt {b} c^2}-\frac {\sqrt {\pi } \sin \left (\frac {2 a}{b}\right ) C\left (\frac {2 \sqrt {a+b \sin ^{-1}(c x)}}{\sqrt {b} \sqrt {\pi }}\right )}{2 \sqrt {b} c^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.18, antiderivative size = 99, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 8, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.571, Rules used = {4635, 4406, 12, 3306, 3305, 3351, 3304, 3352} \[ \frac {\sqrt {\pi } \cos \left (\frac {2 a}{b}\right ) S\left (\frac {2 \sqrt {a+b \sin ^{-1}(c x)}}{\sqrt {b} \sqrt {\pi }}\right )}{2 \sqrt {b} c^2}-\frac {\sqrt {\pi } \sin \left (\frac {2 a}{b}\right ) \text {FresnelC}\left (\frac {2 \sqrt {a+b \sin ^{-1}(c x)}}{\sqrt {\pi } \sqrt {b}}\right )}{2 \sqrt {b} c^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 12
Rule 3304
Rule 3305
Rule 3306
Rule 3351
Rule 3352
Rule 4406
Rule 4635
Rubi steps
\begin {align*} \int \frac {x}{\sqrt {a+b \sin ^{-1}(c x)}} \, dx &=\frac {\operatorname {Subst}\left (\int \frac {\cos (x) \sin (x)}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c x)\right )}{c^2}\\ &=\frac {\operatorname {Subst}\left (\int \frac {\sin (2 x)}{2 \sqrt {a+b x}} \, dx,x,\sin ^{-1}(c x)\right )}{c^2}\\ &=\frac {\operatorname {Subst}\left (\int \frac {\sin (2 x)}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c x)\right )}{2 c^2}\\ &=\frac {\cos \left (\frac {2 a}{b}\right ) \operatorname {Subst}\left (\int \frac {\sin \left (\frac {2 a}{b}+2 x\right )}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c x)\right )}{2 c^2}-\frac {\sin \left (\frac {2 a}{b}\right ) \operatorname {Subst}\left (\int \frac {\cos \left (\frac {2 a}{b}+2 x\right )}{\sqrt {a+b x}} \, dx,x,\sin ^{-1}(c x)\right )}{2 c^2}\\ &=\frac {\cos \left (\frac {2 a}{b}\right ) \operatorname {Subst}\left (\int \sin \left (\frac {2 x^2}{b}\right ) \, dx,x,\sqrt {a+b \sin ^{-1}(c x)}\right )}{b c^2}-\frac {\sin \left (\frac {2 a}{b}\right ) \operatorname {Subst}\left (\int \cos \left (\frac {2 x^2}{b}\right ) \, dx,x,\sqrt {a+b \sin ^{-1}(c x)}\right )}{b c^2}\\ &=\frac {\sqrt {\pi } \cos \left (\frac {2 a}{b}\right ) S\left (\frac {2 \sqrt {a+b \sin ^{-1}(c x)}}{\sqrt {b} \sqrt {\pi }}\right )}{2 \sqrt {b} c^2}-\frac {\sqrt {\pi } C\left (\frac {2 \sqrt {a+b \sin ^{-1}(c x)}}{\sqrt {b} \sqrt {\pi }}\right ) \sin \left (\frac {2 a}{b}\right )}{2 \sqrt {b} c^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.08, size = 123, normalized size = 1.24 \[ -\frac {e^{-\frac {2 i a}{b}} \left (\sqrt {-\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}} \Gamma \left (\frac {1}{2},-\frac {2 i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )+e^{\frac {4 i a}{b}} \sqrt {\frac {i \left (a+b \sin ^{-1}(c x)\right )}{b}} \Gamma \left (\frac {1}{2},\frac {2 i \left (a+b \sin ^{-1}(c x)\right )}{b}\right )\right )}{4 \sqrt {2} c^2 \sqrt {a+b \sin ^{-1}(c x)}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
fricas [F(-2)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [C] time = 2.06, size = 132, normalized size = 1.33 \[ \frac {i \, \sqrt {\pi } \operatorname {erf}\left (-\frac {\sqrt {b \arcsin \left (c x\right ) + a}}{\sqrt {b}} + \frac {i \, \sqrt {b \arcsin \left (c x\right ) + a} \sqrt {b}}{{\left | b \right |}}\right ) e^{\left (-\frac {2 i \, a}{b}\right )}}{4 \, c^{2} {\left (\sqrt {b} - \frac {i \, b^{\frac {3}{2}}}{{\left | b \right |}}\right )}} - \frac {i \, \sqrt {\pi } \operatorname {erf}\left (-\frac {\sqrt {b \arcsin \left (c x\right ) + a}}{\sqrt {b}} - \frac {i \, \sqrt {b \arcsin \left (c x\right ) + a} \sqrt {b}}{{\left | b \right |}}\right ) e^{\left (\frac {2 i \, a}{b}\right )}}{4 \, \sqrt {b} c^{2} {\left (\frac {i \, b}{{\left | b \right |}} + 1\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 80, normalized size = 0.81 \[ -\frac {\sqrt {\pi }\, \sqrt {\frac {1}{b}}\, \left (\sin \left (\frac {2 a}{b}\right ) \FresnelC \left (\frac {2 \sqrt {a +b \arcsin \left (c x \right )}}{\sqrt {\pi }\, \sqrt {\frac {1}{b}}\, b}\right )-\cos \left (\frac {2 a}{b}\right ) \mathrm {S}\left (\frac {2 \sqrt {a +b \arcsin \left (c x \right )}}{\sqrt {\pi }\, \sqrt {\frac {1}{b}}\, b}\right )\right )}{2 c^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x}{\sqrt {b \arcsin \left (c x\right ) + a}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {x}{\sqrt {a+b\,\mathrm {asin}\left (c\,x\right )}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {x}{\sqrt {a + b \operatorname {asin}{\left (c x \right )}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________